//
//  SettingTableViewController.swift
//  xiaoqiao
//
//  Created by 冷子豪 on 2017/6/17.
//  Copyright © 2017年 冷子豪. All rights reserved.
///Users/lengzihao/Desktop/Ios development/小桥金融APP/XiaoQiaoJinRong-KeHuDuan/xiaoqiao/Base.lproj/Main.storyboard

import UIKit

class SettingTableViewController: UITableViewController {

    // 设置菜单 数组
    //var setMenuList = ["增加银行卡","修改密码","分享","昵称","头像设置"]
    @IBOutlet weak var realNameLabel: UILabel!
    @IBOutlet weak var phoneLabel: UILabel!
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        realNameLabel.text = user.realname ?? "姓名"
        phoneLabel.text = user.phone ?? "手机号"
        self.tableView.reloadData()
    }
    
//    // MARK: - 数据源方法
//    override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
//        return setMenuList.count
//    }
//    
//    override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
//        
//        let cell = tableView.dequeueReusableCell(withIdentifier: "menuCellId", for: indexPath)
//        
//        cell.textLabel?.text = setMenuList[indexPath.row]
//        
//        return cell
//    }
    
}
